package cn.tedu._05weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author Justin Parker
 * @Date 2024/8/10 0010 10:38
 * @Version 1.0
 */
@Data
public class WeiboDetailVO {
    @ApiModelProperty(value = "微博ID")
    private Long id;
    @ApiModelProperty(value = "微博内容")
    private String content;
    @ApiModelProperty(value = "用户昵称")
    private String nickname;
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒", timezone = "Asia/Shanghai")
    private Date created;
}
